/* elementUI  自定义样式 */

/* 自定义全局loading */
.el-loading-global {
  background-color: rgba(0, 0, 0, 0.5);
  .el-loading-spinner {
    width: auto;
    height: 75px;
    background-color: #f1f1f1;
    top: calc((100% - 75px) / 2);
    left: calc((100% - 150px) / 2);
    border-radius: 8px;
    padding-top: 5px;
    .el-loading-text {
      padding: 0 10px 5px 10px;
    }
  }
}
/*弹出窗口*/
.el-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0 !important;
  transform: translate(-50%, -50%);
  max-height: calc(100% - 30px);
  max-width: calc(100% - 30px);
  display: flex;
  flex-direction: column;
      > .el-dialog__body {
    overflow: auto;
    color: #666666;
  }
}
/*kettle 弹出窗口*/
.kettleDialog,.customDialog {
  .el-dialog__header {
    padding: 0;
    height: 35px;
    text-align: left;
    line-height: 35px;
  }

  .el-dialog__title {
    margin-left: 30px;
    font-size: 14px;
  }
  .dialog-title {
    img,.svg-icon {
      margin-top: 7px;
      margin-left: 7px;
      margin-right: 7px;
      float: left;
    }
    .svg-icon{
      font-size:20px;
    }
    span {
      float: left;
    }
    .icon-fullscreen {
      float: right;
      margin-right: 50px;
      cursor: pointer;
      &:hover {
        color: #409eff;
      }
    }
  }
  .el-dialog__headerbtn {
    right: 10px;
    top: 7px;
  }

  .el-dialog__headerbtn .el-dialog__close {
    color: #666;
    padding: 2px;
    border-radius: 10px;
  }

  .el-dialog__headerbtn .el-dialog__close:hover {
    color: #fff;
    background-color: #e54545;
  }

  .el-dialog__body {
    padding: 0px;
    height: 100%;
    max-height: calc(100% - 35px);
  }
  .el-form-item__label {
    font-size: 13px !important;
  }
  .dialog-footer {
    border-top: 1px solid #eee;
    text-align: center;
    background-color: #f7f7f7;
    height: 45px !important;
    line-height: 40px;
  }

  .dialog-footer .el-button {
    padding: 8px 20px;
    margin-left: 50px;
    margin-right: 30px;
    font-size: 13px;
  }
   
  .body-warp {
    padding: 20px;
  }
}


/*表格*/
.el-table td, .el-table th {
  padding: 0;
  height: 40px;
}

.current-row > td {
  background-color: #000000;
}

.el-table td {
  font-size: 13px;
  color: #606266;
}

.el-table__header th {
  font-size: 13px;
  color: #666;
  font-weight: bold;
  background-color: #f5f7f9;
}

.fullscreenDialog .el-table__header th {
  //font-weight: normal;
}

.el-table--border td, .el-table--border th, .el-table__body-wrapper .el-table--border.is-scrolling-left ~ .el-table__fixed {
  border-right: 1px solid #e3e8ee;
}

.el-table td, .el-table th.is-leaf {
  border-bottom: 1px solid #e3e8ee;
}

.el-table__body-wrapper {

}

.el-table .warning-row {
  background: oldlace;
}

.el-table .success-row {
  background: #f0f9eb;
}
.el-table{
  color:#555555;
}
.el-table .warning-row {
  background: oldlace;
}

.el-table .success-row {
  background: #f0f9eb;
}
.el-table .disabled-row {
  background: #EBEEF5;
  
}
.table-index{ background-color: #f3f3f3 !important;}
.el-table__footer-wrapper tbody td, .el-table__header-wrapper tbody td{
  background-color: #f3f3f3;
  color:#333333;
  font-weight: bold;
}
.cell-input .el-input-number .el-input__inner{
  text-align: right;
}


/*el-form*/
.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap > .el-form-item__label:before, .el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:before {
  content: ' *';
  font-size: 16px;
}

//间距
.body-warp .el-form .el-form-item {
  margin-bottom: 15px;
}